[[PageOutline(3-4, Sections)]]
== !ReportWrongMovieHash ==
=== Intro ===
report wrong subtitle file <--> video file combination
----
=== Description ===
'''struct !ReportWrongMovieHash(string $token, string $IDSubMovieFile)'''
This method is used to report subtitle file <--> video file combination,
i.e. subtitle contents are correct but but they are not synchronized to match this video file.
With this method number of reports is counted in database and after a certain number of reports is reached,
hash is automatically deleted from the database.
----
=== Parameters ===
{{{
struct(
(string) [token],
(string) [IDSubMovieFile]
)
}}}
''token (required)''::
token string identifying user's session, taken from [wiki:XmlRpcLogIn LogIn] output structure.
''IDSubMovieFile (required)''::
identifier of the subtitle file <--> video file combination
----
=== Return Values ===
Output is returned in this structure:
{{{
struct(
(string) [status],
(double) [seconds]
)
}}}
and contains these elements:
''status''::
function result code, see [wiki:XmlRpcStatusCode list of status codes]
''seconds''::
time taken to execute this command on server
----
=== Implementations ===
There are currently no available sample implementations.
----
=== Changelog ===
Version 1: created this function
----
=== Examples ===
==== Input ====
{{{
#!xml
ReportWrongMovieHash
a41j170ljs0jd6s375t0hp9mf6
39620
}}}
==== Output ====
{{{
#!xml
status
200 OK
seconds
0.703
}}}
----
=== Notes ===
none yet
----
=== See also ===
----
=== Comments ===
add your comments, hints and suggestions here if you like ...
--------
[Prev] [wiki:XmlRpcIntro Home] [Next]